/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.gamecenter.sdk.login.plugin.h;

public class o {
    private boolean a = false;
    private boolean b;

    public synchronized boolean a() {
        return this.a;
    }

    public synchronized void b() {
        this.a = true;
    }

    public synchronized void c() {
        this.a = false;
        super.notifyAll();
    }

    public synchronized void d() {
        while (this.a)
            try {
                super.wait();
            } catch (InterruptedException localInterruptedException) {
                e.b("ThreadSync", "", localInterruptedException);
            }
    }

    public synchronized void e() {
        this.a = false;
        this.b = true;
        super.notifyAll();
    }
}